package com.pureut.storage.service;

import com.pureut.storage.dto.InventoryInquiryDto;
import com.pureut.storage.dto.MaterialFinishedDto;
import com.pureut.storage.dto.MaterialRawDetailDto;
import com.pureut.storage.vo.InventoryInquiryVo;
import com.sale.common.mybatis.core.page.PageQuery;
import com.sale.common.mybatis.core.page.TableDataInfo;

/**
 * @Author: YSL
 * @Date: 2023/7/20 10:23
 * @Desc: 库存信息 业务层
 */
public interface InventoryInquiryService {

    /**
     * 库存汇总
     * @param inventoryInquiryVo
     * @return
     */
    TableDataInfo<InventoryInquiryDto> selectInventoryInquiryList(InventoryInquiryVo inventoryInquiryVo, PageQuery pageQuery) throws Exception;

    /**
     * 原料明细
     * @param inventoryInquiryVo
     * @return
     */
    TableDataInfo<MaterialRawDetailDto> selectMaterialRawDetail(InventoryInquiryVo inventoryInquiryVo, PageQuery pageQuery) throws Exception;

    /**
     * 成品明细
     * @param inventoryInquiryVo
     * @return
     */
    TableDataInfo<MaterialFinishedDto> selectMaterialFinishedDetail(InventoryInquiryVo inventoryInquiryVo, PageQuery pageQuery) throws Exception;

    /**
     * 根据模糊查询获取仓库id
     * @param inventoryInquiryVo
     * @return
     */
    InventoryInquiryVo getWarehouseById(InventoryInquiryVo inventoryInquiryVo);
}
